WriteRange<T>(T[],Int32,Int32) Method
In This Topic
Writes an array of values to the current stream, and advances the current position within this stream by the number of bytes written.
Syntax
'Declaration
Public Overloads Sub WriteRange(Of As {New, Struct})( _
ByVal () As , _
ByVal As System.Integer, _
ByVal As System.Integer _
)
public void WriteRange<>(
[] ,
System.int ,
System.int
)
where T: new(), struct
Parameters
- data
- An array of values to be written to the stream.
- offset
- The zero-based offset in data at which to begin copying values to the current stream.
- count
- The number of values to be written to the current stream. If this is zero, all of the contents will be written.
Type Parameters
- T
- The type of the values to be written to the stream.
Exceptions
Exception | Description |
System.NotSupportedException | This stream does not support writing. |
See Also